.)
\definelistalternative[startendfmpages][renderingsetup=list:startendfmpages]
\startsetups[list:startendfmpages]
\structurelistuservariable{itemAuthor}\crlf
\structurelistuservariable{itemTitle}\hfill%
\at[\currentlistentrypagenumber]–\at[\lastpagenumber]
\vglue1pc
\stopsetups
where I
,
before={\blank[2.2ex, fixed]},
inbetween=\endgraf,
]
\define\ToCEntry{%
\structurelistuservariable{author}\crlf
\structurelistuservariable{title}\hfill%
\at[\structurelistuservariable{reference}]–%
\at[\structurelistuservariable{authorInitials}endPage]
}
\definelistalternative[startendpages
welcome. My MWE:
\setuppapersize[S6]
\startuseMPgraphic{itemize:toc}
save p; path p;
p := ( (0,-0.5)--(0,0.5)--(0.866,0)--cycle ) scaled 1.5ExHeight;
fill p withcolor \MPcolor{Black};
\stopuseMPgraphic
\definesymbol[itemize:toc][\useMPgraphic{itemize:toc}]
\definelistalternative
[toclist
]\MeinEintrag{#3: #2 (#1)} % Seite: Titel (Nummer)
\setuplist[alternative=interactive,command=\MeinEintrag]
or define your own alternative:
\definelistalternative[j][renderingsetup=list:jbf]
\startsetups[list:jbf]
... \currentlist...
\stopsetups
HTH
Hraban
Am 16.03.22 um 22:03 schrieb jbf via
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----\definelistalternative
[whatever]
[renderingsetup=whatever]
\setuplis
the dimensions you can do
this:
\usemodule[article-basic]
\definelistalternative
[whatever]
[renderingsetup=whatever]
\setuplist
[chapter]
[alternative=whatever]
\startsetups whatever
\framed [offset=overlay,frame=off] {
\framed [width=25mm,align=flushleft,frame=off,offset=0pt
time, I'd like the
> list to be horizontal, at the bottom of the slide. Is there
> already a listalternative for this?
I did something similar for a few presentations and wrote a small
module:
https://github.com/mpfusion/context-slide
> Or is it not too complex to have a \definel
. Is there already a listalternative for this? Or is it not too
complex to have a \definelistalternative do this? Or would it be easier
not to rely on the list mechanism but code something from scratch?
Thanks for your advice and all best
Thomas
d. There are already two styles in
> simpleslides doing this, but this time, I'd like the list to be
> horizontal, at the bottom of the slide. Is there already a
> listalternative for this? Or is it not too complex to have a
> \definelistalternative do this? Or would it be easier not to rely on
&
][option:overviewpage=\v!yes]}
\appendtoks
\processcommacommand
[\moduleparameter{overviewpage}\c!level]
\overviewpage_setup_head
\to \everysetupmodule
\the\everysetupmodule
\setuppaper
[\c!method=overviewpage]
\definelistalternative
[overviewpage]
[\c!renderingsetup
for your reply, Wolfgang.
I have no idea about how to do it. What should I start reading?
Search for \definelistalternative or \setuplist in combination with
alternative=command.
Wolfgang
___
If your question
On 02/19/2014 08:26 PM, Wolfgang Schuster wrote:
Am 19.02.2014 um 20:14 schrieb Pablo Rodriguez:
On 02/19/2014 07:48 PM, Wolfgang Schuster wrote:
[...]
Write your own list layout.
I have no idea about how to do it. What should I start reading?
Search for \definelistalternative
, there is no current chapter and so the
head location for the chapter entry returns 0.
Here is what I have so far:
\startsetups [list:TOC]
\starttabulate
\currentlistentrypagenumber{} \hskip 1em \NC \currentlistentrytitle{} \NR
\stoptabulate
\stopsetups
\definelistalternative
.
Here is what I have so far:
\startsetups [list:TOC]
\starttabulate
\currentlistentrypagenumber{} \hskip 1em \NC \currentlistentrytitle{} \NR
\stoptabulate
\stopsetups
\definelistalternative
[TOC]
[renderingsetup=list:TOC]
% Format the ToC style
\page_shipouts_normal{\box\nextbox}%
\fi}
\installshipoutmethod{overview}\overview_save_page
\definelistalternative
[overview]
[\c!renderingsetup=\??listrenderings:overview]
\setuplistalternative
[overview]
[\c!before=\dontleavehmode,
\c!after=\space,
\c!width=.4\textwidth
for section entries.
\setuplist[chapter][alternative=mychapter]
\definelistalternative[mychapter][renderingsetup=list:mychapter]
\startsetups[list:mychapter]
\par
\setbox\scratchboxone\hbox{\currentlistentrynumber \quad
\currentlistentrytitle \quad \currentlistentrypagenumber}
\setbox
/definelistalternative. I have
taken the lazy liberty of redirecting
Command/currentlistentrylocation
Command/structureheadlocation
Command/currentlistentrynumber
etc to that page for the now, so that they at least appear in the list
of commands.
--Sietse
\starttext
\startsection [title=alpha
[headlist]
\framed[align=normal, frame=off]
{\placelist [chapter] [alternative=highlight, criterium=all]}
\stopsetups
\definelistalternative
[highlight]
[renderingsetup=list:highlight]
\startsetups [list:highlight]
\par
\startlinealignment[middle]
\doifelse{\fetchmark[chapter][first
2012-11-08 Wolfgang Schuster:
Hi Wolfgang!
\startsetups [headlist]
\framed[align=normal, frame=off]
{\placelist [chapter] [alternative=highlight, criterium=all]}
\stopsetups
\definelistalternative
[highlight]
[renderingsetup=list:highlight]
I like the flexibility
On 11/8/2012 11:06 AM, Marco Patzer wrote:
2012-11-08 Wolfgang Schuster:
Hi Wolfgang!
\startsetups [headlist]
\framed[align=normal, frame=off]
{\placelist [chapter] [alternative=highlight, criterium=all]}
\stopsetups
\definelistalternative
[highlight]
[renderingsetup
On 11/8/2012 12:06 PM, Hans Hagen wrote:
On 11/8/2012 11:06 AM, Marco Patzer wrote:
2012-11-08 Wolfgang Schuster:
Hi Wolfgang!
\startsetups [headlist]
\framed[align=normal, frame=off]
{\placelist [chapter] [alternative=highlight, criterium=all]}
\stopsetups
\definelistalternative
2012-11-08 Marco Patzer:
Best document this before we forget about it.
I assume that's my part, right? I'll extend or add a wiki page the
weekend after the beta is released.
http://wiki.contextgarden.net/Command/definelistalternative
Marco
On 11/8/2012 6:32 PM, Marco Patzer wrote:
2012-11-08 Marco Patzer:
Best document this before we forget about it.
I assume that's my part, right? I'll extend or add a wiki page the
weekend after the beta is released.
http://wiki.contextgarden.net/Command/definelistalternative
fyi: more
2012-11-08 Wolfgang Schuster:
\setupheadertexts
[\setups{headlist}]
\startsetups [headlist]
\framed[align=normal, frame=off]
{\placelist [chapter] [alternative=highlight, criterium=all]}
\stopsetups
\definelistalternative
[highlight]
[renderingsetup=list:highlight]
Why
\definelistalternative
[highlight]
[renderingsetup=list:highlight]
Why does the custom list alternative succeed in a header but fails
in a layer? A predefined alternative works perfectly in a layer.
Header and footers are added and calculated after the page is finished
but when you put a text in a layer
, criterium=all]}
\stopsetups
\definelistalternative
[highlight]
[renderingsetup=list:highlight]
Why does the custom list alternative succeed in a header but fails
in a layer? A predefined alternative works perfectly in a layer.
Header and footers are added and calculated after the page
{\the\t_lists_every_renderingtext}
\def\listrenderingsynchronize{\the\t_lists_every_renderingsynchronize}
\protect
% now you can say:
\definelistalternative
[willi:1]
[renderingsetup=willi:1]
\startsetups[willi:1]
\listparameter{before}
\vbox \listboxproperties{all} {
\forgetall
27 matches
Mail list logo